/**
 * Created by meigang on 17/9/8.
 */
var React = require("react");
var {Button,Grid,Row,Col} = require("react-bootstrap");
class Main extends React.Component{
    constructor(props) {
        super(props);
        console.info("先运行构造方法")
        console.info(props);
    }


    success() {
        /*Modal.success({
            title: '成功框',
            content: 'some messages...some messages...'
        });*/
    }

    render(){
        return <div>
            <Button onClick={this.success.bind(this)}>Info1</Button>
        </div>
    }
}

module.exports = Main;